ReactiveRecyclerViewViewHolder class¶
Attributes: [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.512)] [DebuggerDisplay("{ViewModel}")]
Defined in
Namespace: ReactiveUI.AndroidX
Assembly: ReactiveUI.AndroidX.dll
Full name: ReactiveUI.AndroidX.ReactiveRecyclerViewViewHolder<T>
Modifiers: public
Summary¶
A ViewHolder implementation that binds to a reactive view model.
Applies to
net10.0-android36.0
Class hierarchy
classDiagram
class ReactiveRecyclerViewViewHolder~T~
class ViewHolder
ViewHolder <|-- ReactiveRecyclerViewViewHolder~T~
class ILayoutViewHost {
<>
}
ILayoutViewHost <|.. ReactiveRecyclerViewViewHolder~T~
class IViewFor~TViewModel~ {
<>
}
IViewFor~TViewModel~ <|.. ReactiveRecyclerViewViewHolder~T~
class IViewFor {
<>
}
IViewFor <|.. ReactiveRecyclerViewViewHolder~T~
class IActivatableView {
<>
}
IActivatableView <|.. ReactiveRecyclerViewViewHolder~T~
class IReactiveNotifyPropertyChanged~ReactiveRecyclerViewViewHolder~TViewModel~~ {
<>
}
IReactiveNotifyPropertyChanged~ReactiveRecyclerViewViewHolder~TViewModel~~ <|.. ReactiveRecyclerViewViewHolder~T~
class IReactiveObject {
<>
}
IReactiveObject <|.. ReactiveRecyclerViewViewHolder~T~
class INotifyPropertyChanged {
<>
}
INotifyPropertyChanged <|.. ReactiveRecyclerViewViewHolder~T~
class INotifyPropertyChanging {
<>
}
INotifyPropertyChanging <|.. ReactiveRecyclerViewViewHolder~T~
class IEnableLogger {
<>
}
IEnableLogger <|.. ReactiveRecyclerViewViewHolder~T~
class ICanActivate {
<>
}
ICanActivate <|.. ReactiveRecyclerViewViewHolder~T~
Inherits from: ViewHolder
Implements: ILayoutViewHost, IViewFor<TViewModel>, IViewFor, IActivatableView, IReactiveNotifyPropertyChanged
Remarks¶
The trimmer keeps the public properties of every type derived from this one, so the AllPublicProperties lookup is safe to trim and to compile ahead of time.
Constructors¶
| Name | Summary |
|---|---|
| .ctor | Initializes a new instance of the [ReactiveRecyclerViewViewHolder](# class. |
Properties¶
| Name | Summary |
|---|---|
| Selected | Gets an observable that signals that this ViewHolder has been selected. |
| SelectedWithViewModel | Gets an observable that signals that this ViewHolder has been selected. |
| LongClicked | Gets an observable that signals that this ViewHolder has been long-clicked. |
| LongClickedWithViewModel | Gets an observable that signals that this ViewHolder has been long-clicked. |
| Activated | Gets a observable which is triggered when the ViewModel is activated. |
| Deactivated | Gets a observable which is triggered when the ViewModel is deactivated. |
| View | Gets the current view being shown. |
| ViewModel | Gets or sets the view model displayed by the view. |
| ThrownExceptions | Gets an observable which signals when exceptions are thrown. |
| Changing | Gets an observable that fires before a property is about to be changed. Note that this should not fire duplicate change notifications if a property is set to the same... |
| Changed | Gets an Observable that fires after a property has changed. Note that this should not fire duplicate change notifications if a property is set to the same value multiple... |
| AllPublicProperties | Gets or sets the lazily-computed set of public properties used by legacy reflection-based wiring. |
Methods¶
| Name | Summary |
|---|---|
| SuppressChangeNotifications | When this method is called, an object will not fire change notifications (neither traditional nor Observable notifications) until the return value is disposed. |
| AreChangeNotificationsEnabled | Gets if change notifications via the INotifyPropertyChanged interface are being sent. |
| Dispose | To be added. |
Events¶
| Name | Summary |
|---|---|
| PropertyChanging | Occurs when a property value is changing. |
| PropertyChanged | Occurs when a property value changes. |